<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK href="../Admin_STYLE.CSS" rel=stylesheet type=text/css>
<script charset="gb2312" src="__PUBLIC__/Theme1/kindeediitor/kindeditor-min.js"></script>
<script charset="gb2312" src="__PUBLIC__/Theme1/kindeediitor/lang/zh_CN.js"></script>
<script charset="gb2312" src="__PUBLIC__/Theme1/kindeediitor/plugins/code/prettify.js"></script>
<script>
    KindEditor.ready(function(K) {
        var editor1 = K.create('textarea[name="content"]', {
            cssPath : '__PUBLIC__/Theme1/kindeediitor/plugins/code/prettify.css',
            uploadJson : '__PUBLIC__/Theme1/kindeediitor/php/upload_json.php',
            fileManagerJson : '__PUBLIC__/Theme1/kindeediitor/php/file_manager_json.php',
            allowFileManager : true,
            afterCreate : function() {
                var self = this;
                K.ctrl(document, 13, function() {
                    self.sync();
                    K('form[name=example]')[0].submit();
                });
                K.ctrl(self.edit.doc, 13, function() {
                    self.sync();
                    K('form[name=example]')[0].submit();
                });
            }
        });
        prettyPrint();
    });
</script>
<style>
    form {
        margin: 0;
    }
    textarea {
        display: block;
    }
</style>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="862" align="center" valign="top">
            <form method="POST" name="myform" onSubmit="return CheckForm();" action="__URL__/news_add" target="_self">
                <table width="900" border="0" align="center" cellpadding="0" cellspacing="2" class="border">
                    <tr>
                        <td height="20" align="center" class="title"><b>添 加 公 告</b></td>
                    </tr>
                    <tr align="center">
                        <td class="tdbg"> <table width="100%" border="0" cellpadding="0" cellspacing="2">

                            <tr>
                                <td width="112" height="22" align="right" >标题：</td>
                                <td width="596" > <input name="title" type="text"
                                                         id="Title2" size="50">
                                    <font color="#FF0000">*</font></td>
                            </tr>
                            <tr>
                                <td width="112" height="22" align="right" >内容：</td>
                                <td width="596" > <textarea name="content" style="width:800px;height:400px;visibility:hidden;"></textarea>
                                    <font color="#FF0000">*</font></td>
                            </tr>

                            <tr>
                                <td width="112" height="22" align="right" >添加时间：</td>
                                <td >
                                    <input name="UpdateTime" type="text" id="UpdateTime" value="<{$UpdateTime}>" maxlength="50" readonly="readonly">
                                </td>
                            </tr>
                        </table></td>
                    </tr>
                </table>
                <div align="center"><p>
                    <input
                            name="Add" type="submit"  id="Add" value=" 添 加 " onClick="document.myform.action='__URL__/news_add';document.myform.target='_self';">
                </p></div>
            </form>   </td>
    </tr>
</table>
